<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/erp/assets/css/bootstrap.min.css}" rel="stylesheet"/>
    <link rel="stylesheet" th:href="@{/erp/css/style.css}"/>
    <link th:href="@{/erp/assets/css/codemirror.css}" rel="stylesheet">
    <link rel="stylesheet" th:href="@{/erp/assets/css/ace.min.css}"/>
    <link rel="stylesheet" th:href="@{/erp/assets/css/font-awesome.min.css}"/>
    <script th:src="@{/erp/assets/js/jquery.min.js}"></script>
    <script th:src="@{/erp/assets/js/bootstrap.min.js}"></script>
    <!-- page specific plugin scripts -->
    <script th:src="@{/erp/assets/js/jquery.dataTables.min.js}"></script>
    <script th:src="@{/erp/assets/js/jquery.dataTables.bootstrap.js}"></script>
    <script th:src="@{/erp/assets/layer/layer.js}" type="text/javascript"></script>
    <title>查看库存</title>
</head>
<body>

<div class="edit_menber" id="edit_menber_style">
    <ul class=" page-content">
        <div class="Operate_cont clearfix">
            <div class="brand_detailed">

                <ul class="Info_style clearfix" style="width:510px; margin-top:0px;">
                    <li><label class="label_name">商品编号：</label>
                        <span class="name"style="margin-left:10px;width:140px;" th:text="${param.id}"></span></li>
                    <li><label class="label_name">商品名称：</label>
                        <span th:text="${param.productName}" class="name"style="margin-left:10px;width:140px;">旭派48V电池</span>
                    </li>
                    <li><label class="label_name">仓库名称：</label>
                        <span class="name" th:text="${param.warehouseName}" style="margin-left:10px;width:140px;"></span>
                    </li>
                    <li><label class="label_name">仓库编号：</label>
                        <span class="name" th:text="${param.warehouseNo}" ></span>
                    </li>
                    <li><label class="label_name">负责人：</label>
                        <span class="name" th:text="${param.warehousePerson}"></span>
                    </li>
                    <li><label class="label_name">联系电话：</label>
                        <span class="name" th:text="${param.personTel}"></span></li>
                    <li><label class="label_name">单位：</label><span class="name"style="margin-left:10px;width:140px;">PC</span></li>
                    <li><label class="label_name">现有数量：</label>
                        <span class="name"style="margin-left:10px;width:140px;" th:text="${param.num}"></span>
                    </li>
                    <li class="b_Introduce"><label class="label_name">描述：</label><br/>
                        <span class="name" style="width:400px;"><textarea th:text="${param.warehouseRemark}" style="width:350px;" readonly="readonly" cols="40" rows="8">旭派电池专用</textarea></span></li>

                </ul>

                <li>
                    <div class="" style=" text-align:center">
                        <input class="btn btn-primary" id="tijiao1" type="button" value="返回">
                    </div>

                </li>

            </div>
        </div>
    </ul>
</div>
<script>
    $('#tijiao1').on('click', function () {
        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
        parent.layer.close(index); //再执行关闭
    });
</script>

</body>
</html>